const {
  unDefined,
  nullValue,
  emailver,
  passwordver,
} = require("@/utils/valiData");
const result = require("@/utils/handle")

// 获取每日推荐
const Resreturn = (page) => {
  unDefined([page]);
  nullValue([{ value: page, tips: "请输入页码" }]);
};

// 获取首页瀑布流游记
const Clssifytravels = (keywords, page) => {
  unDefined([keywords, page])
  nullValue([
      { value: keywords, tips: '缺少分类查询值keywords' },
      { value: page, tips: '缺少分页page值' }
  ])
}



module.exports = {
  Resreturn,
  Clssifytravels
};
